package com.gigrt.midend.marketing.impl.domain.campaign.event.subscribe;

import com.gigrt.midend.marketing.impl.domain.campaign.event.ChannelDomainEvent;
import com.google.common.eventbus.Subscribe;
import org.springframework.stereotype.Component;

/**
 * <P>DomainEventSubscriberImpl</P>
 *
 * @author zhong.fuhua@iwhalecloud.com
 * @date 2020/4/15 10:39
 * @since 
 */
@Component
public class LeaveEventSubscriber  {


  @Subscribe
  public void deal(ChannelDomainEvent channelDomainEvent){
    System.out.println(channelDomainEvent.occurredOn());
  }

}
